 export default function({ $axios, redirect }) {

  $axios.onResponse(res => {
    return res
  })

  $axios.onError(error => {
    const code = parseInt(error.response && error.response.status);
    if (code === 400) {
      redirect("/400");
    }
  });
}